package com.ytjj.qmyx.mall.mapper;

import com.ytjj.qmyx.mall.model.ProductHotel;
import com.ytjj.qmyx.mall.model.ProductHotelExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ProductHotelMapper {
    long countByExample(ProductHotelExample example);

    int deleteByExample(ProductHotelExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ProductHotel record);

    int insertSelective(ProductHotel record);

    List<ProductHotel> selectByExample(ProductHotelExample example);

    ProductHotel selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ProductHotel record, @Param("example") ProductHotelExample example);

    int updateByExample(@Param("record") ProductHotel record, @Param("example") ProductHotelExample example);

    int updateByPrimaryKeySelective(ProductHotel record);

    int updateByPrimaryKey(ProductHotel record);
}